<include file="Public:header" />
<div class="page-member subpage">
    <div class="form-header">
        <div>
            <div class="line1">
                <div class="fl"><h3>{$state.type}申请开放管理</h3></div>
                <div class="fr hidden">
                    <form class="search-form" method="post" action="">
                        <input name="field" value="{$context.field}" type="hidden" />
                        <input name="value" value="{$context.value}" type="hidden" />
                        <input name="page" value="{$context.page}" type="hidden" />
                        <input name="order_field" value="{$context.order_field}" type="hidden" />
                        <input name="order_sort" value="{$context.order_sort}" type="hidden" />
                        <input name="offset" value="{$context.offset}" type="hidden" />
                        <input name="id" value="{$state.id}" type="hidden" />
                    </form>
                </div>
            </div>
            <div class="line2">
                <!-- 编辑按钮组 -->
                <div class="fl form-btn-group btn-group-edit">
                    <button onclick="action_edit();" class="btn-save btn-highlight">编 辑</button>
                    <span>或</span>
                    <a onclick="history.back(-1);" class="linkBtn btn-abort" href="javascript:void(0);">返回</a>
                </div>
                <!-- 保存按钮组 -->
                <div class="fl form-btn-group btn-group-save hidden">
                    <button onclick="action_save();" class="btn-save btn-highlight">保 存</button>
                    <span>或</span>
                    <a class="linkBtn btn-abort" onclick="action_abort();" href="javascript:void(0);">放弃</a>
                </div>
            </div>
        </div>
    </div>
    <div class="form-box2">
        <div>
            <form id="smsApiForm" method="post" action="">
                <!--表单相关原始信息存储-->
                <input type="hidden" name="old_name" value="{$state.name}" />
                <input type="hidden" name="old_reason" value="{$state.reason}" />
                <input type="hidden" name="old_remarks" value="{$state.remarks}" />
                <table class="form">
                    <tr>
                        <th width="15%">开放状态<span class="hint">*</span></th>
                        <td width="30%" field="name">{$state.name}</td>
                        <th width="10%">关闭原因</th>
                        <td field="reason">{$state.reason}</td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td field="remarks">{$state.remarks}</td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<script src="__JS__/applyState.js" type="text/javascript" ></script>
<include file="Public:footer" />
